package com.jacen.fzxs.entity.webservice;

public class Response<T> {
	private ResponseState responseState;
	private T data;

	public ResponseState getResponseState() {
		return responseState;
	}

	public void setResponseState(ResponseState responseState) {
		this.responseState = responseState;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public void setStateCode(int code) {
		ResponseState responseState = new ResponseState();
		responseState.setCode(code);
		this.setResponseState(responseState);
	}
}
